package com.dzsw.system.fonts;

import java.awt.GraphicsEnvironment;
import java.awt.Font;

public class SystemFonts {

    public static void main(String[] args) {
        GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
        Font[] fonts = ge.getAllFonts();
        for (Font font : fonts) {
//            System.out.println(font.getName());
            System.out.println(font.toString());
        }

    }
}
